<h2>New record</h2>
<% form_for(@record) do |f| %>
  <%= f.error_messages %>
	<style type="text/css" media="screen">
		
	</style>
	<%= render :partial => "record_input", :locals => {:f => f} %>

	<%= f.submit 'Submit' if not @disabled %>

<% end %>

<%= link_to 'Back', records_path %>